#include <QtCore>
#include <QCoreApplication>

#include "kProcessorManager.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    bool bDebug=false;

    QString arg;
	for(int i=0;i<argc;i++)
	{
		arg.clear();
		arg.append(argv[i]);
		arg.remove(QChar('-'));
		if(arg=="debug")
			bDebug=true;
	}

    kProcessManager* manager=new kProcessManager(bDebug);
    manager->start();

    return a.exec();
}
